package com.nightcolor.im;

import android.app.Application;
import android.util.DisplayMetrics;

public class NightColorApplication extends Application {

	public static int screenWidth; //pixels
	public static int screenHeight; //pixels
	
	@Override
	public void onCreate() {
		super.onCreate();
		//屏幕尺寸
		{
			DisplayMetrics dm = getResources().getDisplayMetrics();  
			screenWidth  = dm.widthPixels;  
			screenHeight = dm.heightPixels; 
		}
		
		
		
	}
	
	
	
}
